import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import API from '../src/utils/api.js'
import Fetch from '../src/utils/fetch.js'
import StorageUtil from "./utils/StorageUtil";
import $ from 'jquery';

Vue.prototype.API = API;
Vue.prototype.$get = Fetch.get;
Vue.prototype.$post = Fetch.post;
Vue.prototype.sessionStorage = StorageUtil.session;
Vue.prototype.localStorage = StorageUtil.local;
Vue.prototype.$ = $;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
